/**
 * @flow
 */

import React, { Component } from 'react';
import {
    StyleSheet,
    Text,
    View,
    Dimensions
} from 'react-native';

const deviceWidth = Dimensions.get('window').width;

export default class Shop extends Component {
    static navigationOptions = {
        headerTitle:
            <View style={{height:1000,backgroundColor:'rgba(255,96,0,1.0)',flexDirection:'row',alignItems:'center',width:deviceWidth}}>
                <Text style={{color:'white',marginLeft:10}}>商家</Text>
            </View>
    }
    
    render() {
        return (
            <View style={styles.container}>
                <Text>Shop</Text>
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#F5FCFF',
    }
});
